package com.bw.base.net

import com.bw.base.entity.LoginEntityResult
import retrofit2.http.Body
import retrofit2.http.POST

interface ApiService {
    //登陆
    @POST("/user/loginjson")
    suspend fun login(@Body map:MutableMap<String,String>):LoginEntityResult
    //注册
    @POST("/user/register")
    suspend fun register(@Body map:MutableMap<String,String>):LoginEntityResult
}